package com.quanyan.order.entity;

import com.quanyan.common.Plugin.Page;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class OrderRefundExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Page page;

    public OrderRefundExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setPage(Page page) {
        this.page=page;
    }

    public Page getPage() {
        return page;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andSourceSysCodeIsNull() {
            addCriterion("source_sys_code is null");
            return (Criteria) this;
        }

        public Criteria andSourceSysCodeIsNotNull() {
            addCriterion("source_sys_code is not null");
            return (Criteria) this;
        }

        public Criteria andSourceSysCodeEqualTo(String value) {
            addCriterion("source_sys_code =", value, "sourceSysCode");
            return (Criteria) this;
        }

        public Criteria andSourceSysCodeNotEqualTo(String value) {
            addCriterion("source_sys_code <>", value, "sourceSysCode");
            return (Criteria) this;
        }

        public Criteria andSourceSysCodeGreaterThan(String value) {
            addCriterion("source_sys_code >", value, "sourceSysCode");
            return (Criteria) this;
        }

        public Criteria andSourceSysCodeGreaterThanOrEqualTo(String value) {
            addCriterion("source_sys_code >=", value, "sourceSysCode");
            return (Criteria) this;
        }

        public Criteria andSourceSysCodeLessThan(String value) {
            addCriterion("source_sys_code <", value, "sourceSysCode");
            return (Criteria) this;
        }

        public Criteria andSourceSysCodeLessThanOrEqualTo(String value) {
            addCriterion("source_sys_code <=", value, "sourceSysCode");
            return (Criteria) this;
        }

        public Criteria andSourceSysCodeLike(String value) {
            addCriterion("source_sys_code like", value, "sourceSysCode");
            return (Criteria) this;
        }

        public Criteria andSourceSysCodeNotLike(String value) {
            addCriterion("source_sys_code not like", value, "sourceSysCode");
            return (Criteria) this;
        }

        public Criteria andSourceSysCodeIn(List<String> values) {
            addCriterion("source_sys_code in", values, "sourceSysCode");
            return (Criteria) this;
        }

        public Criteria andSourceSysCodeNotIn(List<String> values) {
            addCriterion("source_sys_code not in", values, "sourceSysCode");
            return (Criteria) this;
        }

        public Criteria andSourceSysCodeBetween(String value1, String value2) {
            addCriterion("source_sys_code between", value1, value2, "sourceSysCode");
            return (Criteria) this;
        }

        public Criteria andSourceSysCodeNotBetween(String value1, String value2) {
            addCriterion("source_sys_code not between", value1, value2, "sourceSysCode");
            return (Criteria) this;
        }

        public Criteria andSourceBusinessCodeIsNull() {
            addCriterion("source_business_code is null");
            return (Criteria) this;
        }

        public Criteria andSourceBusinessCodeIsNotNull() {
            addCriterion("source_business_code is not null");
            return (Criteria) this;
        }

        public Criteria andSourceBusinessCodeEqualTo(String value) {
            addCriterion("source_business_code =", value, "sourceBusinessCode");
            return (Criteria) this;
        }

        public Criteria andSourceBusinessCodeNotEqualTo(String value) {
            addCriterion("source_business_code <>", value, "sourceBusinessCode");
            return (Criteria) this;
        }

        public Criteria andSourceBusinessCodeGreaterThan(String value) {
            addCriterion("source_business_code >", value, "sourceBusinessCode");
            return (Criteria) this;
        }

        public Criteria andSourceBusinessCodeGreaterThanOrEqualTo(String value) {
            addCriterion("source_business_code >=", value, "sourceBusinessCode");
            return (Criteria) this;
        }

        public Criteria andSourceBusinessCodeLessThan(String value) {
            addCriterion("source_business_code <", value, "sourceBusinessCode");
            return (Criteria) this;
        }

        public Criteria andSourceBusinessCodeLessThanOrEqualTo(String value) {
            addCriterion("source_business_code <=", value, "sourceBusinessCode");
            return (Criteria) this;
        }

        public Criteria andSourceBusinessCodeLike(String value) {
            addCriterion("source_business_code like", value, "sourceBusinessCode");
            return (Criteria) this;
        }

        public Criteria andSourceBusinessCodeNotLike(String value) {
            addCriterion("source_business_code not like", value, "sourceBusinessCode");
            return (Criteria) this;
        }

        public Criteria andSourceBusinessCodeIn(List<String> values) {
            addCriterion("source_business_code in", values, "sourceBusinessCode");
            return (Criteria) this;
        }

        public Criteria andSourceBusinessCodeNotIn(List<String> values) {
            addCriterion("source_business_code not in", values, "sourceBusinessCode");
            return (Criteria) this;
        }

        public Criteria andSourceBusinessCodeBetween(String value1, String value2) {
            addCriterion("source_business_code between", value1, value2, "sourceBusinessCode");
            return (Criteria) this;
        }

        public Criteria andSourceBusinessCodeNotBetween(String value1, String value2) {
            addCriterion("source_business_code not between", value1, value2, "sourceBusinessCode");
            return (Criteria) this;
        }

        public Criteria andRefundOrderNoIsNull() {
            addCriterion("refund_order_no is null");
            return (Criteria) this;
        }

        public Criteria andRefundOrderNoIsNotNull() {
            addCriterion("refund_order_no is not null");
            return (Criteria) this;
        }

        public Criteria andRefundOrderNoEqualTo(String value) {
            addCriterion("refund_order_no =", value, "refundOrderNo");
            return (Criteria) this;
        }

        public Criteria andRefundOrderNoNotEqualTo(String value) {
            addCriterion("refund_order_no <>", value, "refundOrderNo");
            return (Criteria) this;
        }

        public Criteria andRefundOrderNoGreaterThan(String value) {
            addCriterion("refund_order_no >", value, "refundOrderNo");
            return (Criteria) this;
        }

        public Criteria andRefundOrderNoGreaterThanOrEqualTo(String value) {
            addCriterion("refund_order_no >=", value, "refundOrderNo");
            return (Criteria) this;
        }

        public Criteria andRefundOrderNoLessThan(String value) {
            addCriterion("refund_order_no <", value, "refundOrderNo");
            return (Criteria) this;
        }

        public Criteria andRefundOrderNoLessThanOrEqualTo(String value) {
            addCriterion("refund_order_no <=", value, "refundOrderNo");
            return (Criteria) this;
        }

        public Criteria andRefundOrderNoLike(String value) {
            addCriterion("refund_order_no like", value, "refundOrderNo");
            return (Criteria) this;
        }

        public Criteria andRefundOrderNoNotLike(String value) {
            addCriterion("refund_order_no not like", value, "refundOrderNo");
            return (Criteria) this;
        }

        public Criteria andRefundOrderNoIn(List<String> values) {
            addCriterion("refund_order_no in", values, "refundOrderNo");
            return (Criteria) this;
        }

        public Criteria andRefundOrderNoNotIn(List<String> values) {
            addCriterion("refund_order_no not in", values, "refundOrderNo");
            return (Criteria) this;
        }

        public Criteria andRefundOrderNoBetween(String value1, String value2) {
            addCriterion("refund_order_no between", value1, value2, "refundOrderNo");
            return (Criteria) this;
        }

        public Criteria andRefundOrderNoNotBetween(String value1, String value2) {
            addCriterion("refund_order_no not between", value1, value2, "refundOrderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoIsNull() {
            addCriterion("order_no is null");
            return (Criteria) this;
        }

        public Criteria andOrderNoIsNotNull() {
            addCriterion("order_no is not null");
            return (Criteria) this;
        }

        public Criteria andOrderNoEqualTo(String value) {
            addCriterion("order_no =", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoNotEqualTo(String value) {
            addCriterion("order_no <>", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoGreaterThan(String value) {
            addCriterion("order_no >", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoGreaterThanOrEqualTo(String value) {
            addCriterion("order_no >=", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoLessThan(String value) {
            addCriterion("order_no <", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoLessThanOrEqualTo(String value) {
            addCriterion("order_no <=", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoLike(String value) {
            addCriterion("order_no like", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoNotLike(String value) {
            addCriterion("order_no not like", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoIn(List<String> values) {
            addCriterion("order_no in", values, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoNotIn(List<String> values) {
            addCriterion("order_no not in", values, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoBetween(String value1, String value2) {
            addCriterion("order_no between", value1, value2, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoNotBetween(String value1, String value2) {
            addCriterion("order_no not between", value1, value2, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOutTradeRefundNoIsNull() {
            addCriterion("out_trade_refund_no is null");
            return (Criteria) this;
        }

        public Criteria andOutTradeRefundNoIsNotNull() {
            addCriterion("out_trade_refund_no is not null");
            return (Criteria) this;
        }

        public Criteria andOutTradeRefundNoEqualTo(String value) {
            addCriterion("out_trade_refund_no =", value, "outTradeRefundNo");
            return (Criteria) this;
        }

        public Criteria andOutTradeRefundNoNotEqualTo(String value) {
            addCriterion("out_trade_refund_no <>", value, "outTradeRefundNo");
            return (Criteria) this;
        }

        public Criteria andOutTradeRefundNoGreaterThan(String value) {
            addCriterion("out_trade_refund_no >", value, "outTradeRefundNo");
            return (Criteria) this;
        }

        public Criteria andOutTradeRefundNoGreaterThanOrEqualTo(String value) {
            addCriterion("out_trade_refund_no >=", value, "outTradeRefundNo");
            return (Criteria) this;
        }

        public Criteria andOutTradeRefundNoLessThan(String value) {
            addCriterion("out_trade_refund_no <", value, "outTradeRefundNo");
            return (Criteria) this;
        }

        public Criteria andOutTradeRefundNoLessThanOrEqualTo(String value) {
            addCriterion("out_trade_refund_no <=", value, "outTradeRefundNo");
            return (Criteria) this;
        }

        public Criteria andOutTradeRefundNoLike(String value) {
            addCriterion("out_trade_refund_no like", value, "outTradeRefundNo");
            return (Criteria) this;
        }

        public Criteria andOutTradeRefundNoNotLike(String value) {
            addCriterion("out_trade_refund_no not like", value, "outTradeRefundNo");
            return (Criteria) this;
        }

        public Criteria andOutTradeRefundNoIn(List<String> values) {
            addCriterion("out_trade_refund_no in", values, "outTradeRefundNo");
            return (Criteria) this;
        }

        public Criteria andOutTradeRefundNoNotIn(List<String> values) {
            addCriterion("out_trade_refund_no not in", values, "outTradeRefundNo");
            return (Criteria) this;
        }

        public Criteria andOutTradeRefundNoBetween(String value1, String value2) {
            addCriterion("out_trade_refund_no between", value1, value2, "outTradeRefundNo");
            return (Criteria) this;
        }

        public Criteria andOutTradeRefundNoNotBetween(String value1, String value2) {
            addCriterion("out_trade_refund_no not between", value1, value2, "outTradeRefundNo");
            return (Criteria) this;
        }

        public Criteria andRefundAmountIsNull() {
            addCriterion("refund_amount is null");
            return (Criteria) this;
        }

        public Criteria andRefundAmountIsNotNull() {
            addCriterion("refund_amount is not null");
            return (Criteria) this;
        }

        public Criteria andRefundAmountEqualTo(BigDecimal value) {
            addCriterion("refund_amount =", value, "refundAmount");
            return (Criteria) this;
        }

        public Criteria andRefundAmountNotEqualTo(BigDecimal value) {
            addCriterion("refund_amount <>", value, "refundAmount");
            return (Criteria) this;
        }

        public Criteria andRefundAmountGreaterThan(BigDecimal value) {
            addCriterion("refund_amount >", value, "refundAmount");
            return (Criteria) this;
        }

        public Criteria andRefundAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("refund_amount >=", value, "refundAmount");
            return (Criteria) this;
        }

        public Criteria andRefundAmountLessThan(BigDecimal value) {
            addCriterion("refund_amount <", value, "refundAmount");
            return (Criteria) this;
        }

        public Criteria andRefundAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("refund_amount <=", value, "refundAmount");
            return (Criteria) this;
        }

        public Criteria andRefundAmountIn(List<BigDecimal> values) {
            addCriterion("refund_amount in", values, "refundAmount");
            return (Criteria) this;
        }

        public Criteria andRefundAmountNotIn(List<BigDecimal> values) {
            addCriterion("refund_amount not in", values, "refundAmount");
            return (Criteria) this;
        }

        public Criteria andRefundAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("refund_amount between", value1, value2, "refundAmount");
            return (Criteria) this;
        }

        public Criteria andRefundAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("refund_amount not between", value1, value2, "refundAmount");
            return (Criteria) this;
        }

        public Criteria andApplyUidIsNull() {
            addCriterion("apply_uid is null");
            return (Criteria) this;
        }

        public Criteria andApplyUidIsNotNull() {
            addCriterion("apply_uid is not null");
            return (Criteria) this;
        }

        public Criteria andApplyUidEqualTo(Integer value) {
            addCriterion("apply_uid =", value, "applyUid");
            return (Criteria) this;
        }

        public Criteria andApplyUidNotEqualTo(Integer value) {
            addCriterion("apply_uid <>", value, "applyUid");
            return (Criteria) this;
        }

        public Criteria andApplyUidGreaterThan(Integer value) {
            addCriterion("apply_uid >", value, "applyUid");
            return (Criteria) this;
        }

        public Criteria andApplyUidGreaterThanOrEqualTo(Integer value) {
            addCriterion("apply_uid >=", value, "applyUid");
            return (Criteria) this;
        }

        public Criteria andApplyUidLessThan(Integer value) {
            addCriterion("apply_uid <", value, "applyUid");
            return (Criteria) this;
        }

        public Criteria andApplyUidLessThanOrEqualTo(Integer value) {
            addCriterion("apply_uid <=", value, "applyUid");
            return (Criteria) this;
        }

        public Criteria andApplyUidIn(List<Integer> values) {
            addCriterion("apply_uid in", values, "applyUid");
            return (Criteria) this;
        }

        public Criteria andApplyUidNotIn(List<Integer> values) {
            addCriterion("apply_uid not in", values, "applyUid");
            return (Criteria) this;
        }

        public Criteria andApplyUidBetween(Integer value1, Integer value2) {
            addCriterion("apply_uid between", value1, value2, "applyUid");
            return (Criteria) this;
        }

        public Criteria andApplyUidNotBetween(Integer value1, Integer value2) {
            addCriterion("apply_uid not between", value1, value2, "applyUid");
            return (Criteria) this;
        }

        public Criteria andApplyTimeIsNull() {
            addCriterion("apply_time is null");
            return (Criteria) this;
        }

        public Criteria andApplyTimeIsNotNull() {
            addCriterion("apply_time is not null");
            return (Criteria) this;
        }

        public Criteria andApplyTimeEqualTo(Date value) {
            addCriterion("apply_time =", value, "applyTime");
            return (Criteria) this;
        }

        public Criteria andApplyTimeNotEqualTo(Date value) {
            addCriterion("apply_time <>", value, "applyTime");
            return (Criteria) this;
        }

        public Criteria andApplyTimeGreaterThan(Date value) {
            addCriterion("apply_time >", value, "applyTime");
            return (Criteria) this;
        }

        public Criteria andApplyTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("apply_time >=", value, "applyTime");
            return (Criteria) this;
        }

        public Criteria andApplyTimeLessThan(Date value) {
            addCriterion("apply_time <", value, "applyTime");
            return (Criteria) this;
        }

        public Criteria andApplyTimeLessThanOrEqualTo(Date value) {
            addCriterion("apply_time <=", value, "applyTime");
            return (Criteria) this;
        }

        public Criteria andApplyTimeIn(List<Date> values) {
            addCriterion("apply_time in", values, "applyTime");
            return (Criteria) this;
        }

        public Criteria andApplyTimeNotIn(List<Date> values) {
            addCriterion("apply_time not in", values, "applyTime");
            return (Criteria) this;
        }

        public Criteria andApplyTimeBetween(Date value1, Date value2) {
            addCriterion("apply_time between", value1, value2, "applyTime");
            return (Criteria) this;
        }

        public Criteria andApplyTimeNotBetween(Date value1, Date value2) {
            addCriterion("apply_time not between", value1, value2, "applyTime");
            return (Criteria) this;
        }

        public Criteria andApplyCommentIsNull() {
            addCriterion("apply_comment is null");
            return (Criteria) this;
        }

        public Criteria andApplyCommentIsNotNull() {
            addCriterion("apply_comment is not null");
            return (Criteria) this;
        }

        public Criteria andApplyCommentEqualTo(String value) {
            addCriterion("apply_comment =", value, "applyComment");
            return (Criteria) this;
        }

        public Criteria andApplyCommentNotEqualTo(String value) {
            addCriterion("apply_comment <>", value, "applyComment");
            return (Criteria) this;
        }

        public Criteria andApplyCommentGreaterThan(String value) {
            addCriterion("apply_comment >", value, "applyComment");
            return (Criteria) this;
        }

        public Criteria andApplyCommentGreaterThanOrEqualTo(String value) {
            addCriterion("apply_comment >=", value, "applyComment");
            return (Criteria) this;
        }

        public Criteria andApplyCommentLessThan(String value) {
            addCriterion("apply_comment <", value, "applyComment");
            return (Criteria) this;
        }

        public Criteria andApplyCommentLessThanOrEqualTo(String value) {
            addCriterion("apply_comment <=", value, "applyComment");
            return (Criteria) this;
        }

        public Criteria andApplyCommentLike(String value) {
            addCriterion("apply_comment like", value, "applyComment");
            return (Criteria) this;
        }

        public Criteria andApplyCommentNotLike(String value) {
            addCriterion("apply_comment not like", value, "applyComment");
            return (Criteria) this;
        }

        public Criteria andApplyCommentIn(List<String> values) {
            addCriterion("apply_comment in", values, "applyComment");
            return (Criteria) this;
        }

        public Criteria andApplyCommentNotIn(List<String> values) {
            addCriterion("apply_comment not in", values, "applyComment");
            return (Criteria) this;
        }

        public Criteria andApplyCommentBetween(String value1, String value2) {
            addCriterion("apply_comment between", value1, value2, "applyComment");
            return (Criteria) this;
        }

        public Criteria andApplyCommentNotBetween(String value1, String value2) {
            addCriterion("apply_comment not between", value1, value2, "applyComment");
            return (Criteria) this;
        }

        public Criteria andAuditUidIsNull() {
            addCriterion("audit_uid is null");
            return (Criteria) this;
        }

        public Criteria andAuditUidIsNotNull() {
            addCriterion("audit_uid is not null");
            return (Criteria) this;
        }

        public Criteria andAuditUidEqualTo(Integer value) {
            addCriterion("audit_uid =", value, "auditUid");
            return (Criteria) this;
        }

        public Criteria andAuditUidNotEqualTo(Integer value) {
            addCriterion("audit_uid <>", value, "auditUid");
            return (Criteria) this;
        }

        public Criteria andAuditUidGreaterThan(Integer value) {
            addCriterion("audit_uid >", value, "auditUid");
            return (Criteria) this;
        }

        public Criteria andAuditUidGreaterThanOrEqualTo(Integer value) {
            addCriterion("audit_uid >=", value, "auditUid");
            return (Criteria) this;
        }

        public Criteria andAuditUidLessThan(Integer value) {
            addCriterion("audit_uid <", value, "auditUid");
            return (Criteria) this;
        }

        public Criteria andAuditUidLessThanOrEqualTo(Integer value) {
            addCriterion("audit_uid <=", value, "auditUid");
            return (Criteria) this;
        }

        public Criteria andAuditUidIn(List<Integer> values) {
            addCriterion("audit_uid in", values, "auditUid");
            return (Criteria) this;
        }

        public Criteria andAuditUidNotIn(List<Integer> values) {
            addCriterion("audit_uid not in", values, "auditUid");
            return (Criteria) this;
        }

        public Criteria andAuditUidBetween(Integer value1, Integer value2) {
            addCriterion("audit_uid between", value1, value2, "auditUid");
            return (Criteria) this;
        }

        public Criteria andAuditUidNotBetween(Integer value1, Integer value2) {
            addCriterion("audit_uid not between", value1, value2, "auditUid");
            return (Criteria) this;
        }

        public Criteria andAuditTimeIsNull() {
            addCriterion("audit_time is null");
            return (Criteria) this;
        }

        public Criteria andAuditTimeIsNotNull() {
            addCriterion("audit_time is not null");
            return (Criteria) this;
        }

        public Criteria andAuditTimeEqualTo(Date value) {
            addCriterion("audit_time =", value, "auditTime");
            return (Criteria) this;
        }

        public Criteria andAuditTimeNotEqualTo(Date value) {
            addCriterion("audit_time <>", value, "auditTime");
            return (Criteria) this;
        }

        public Criteria andAuditTimeGreaterThan(Date value) {
            addCriterion("audit_time >", value, "auditTime");
            return (Criteria) this;
        }

        public Criteria andAuditTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("audit_time >=", value, "auditTime");
            return (Criteria) this;
        }

        public Criteria andAuditTimeLessThan(Date value) {
            addCriterion("audit_time <", value, "auditTime");
            return (Criteria) this;
        }

        public Criteria andAuditTimeLessThanOrEqualTo(Date value) {
            addCriterion("audit_time <=", value, "auditTime");
            return (Criteria) this;
        }

        public Criteria andAuditTimeIn(List<Date> values) {
            addCriterion("audit_time in", values, "auditTime");
            return (Criteria) this;
        }

        public Criteria andAuditTimeNotIn(List<Date> values) {
            addCriterion("audit_time not in", values, "auditTime");
            return (Criteria) this;
        }

        public Criteria andAuditTimeBetween(Date value1, Date value2) {
            addCriterion("audit_time between", value1, value2, "auditTime");
            return (Criteria) this;
        }

        public Criteria andAuditTimeNotBetween(Date value1, Date value2) {
            addCriterion("audit_time not between", value1, value2, "auditTime");
            return (Criteria) this;
        }

        public Criteria andAuditCommentIsNull() {
            addCriterion("audit_comment is null");
            return (Criteria) this;
        }

        public Criteria andAuditCommentIsNotNull() {
            addCriterion("audit_comment is not null");
            return (Criteria) this;
        }

        public Criteria andAuditCommentEqualTo(String value) {
            addCriterion("audit_comment =", value, "auditComment");
            return (Criteria) this;
        }

        public Criteria andAuditCommentNotEqualTo(String value) {
            addCriterion("audit_comment <>", value, "auditComment");
            return (Criteria) this;
        }

        public Criteria andAuditCommentGreaterThan(String value) {
            addCriterion("audit_comment >", value, "auditComment");
            return (Criteria) this;
        }

        public Criteria andAuditCommentGreaterThanOrEqualTo(String value) {
            addCriterion("audit_comment >=", value, "auditComment");
            return (Criteria) this;
        }

        public Criteria andAuditCommentLessThan(String value) {
            addCriterion("audit_comment <", value, "auditComment");
            return (Criteria) this;
        }

        public Criteria andAuditCommentLessThanOrEqualTo(String value) {
            addCriterion("audit_comment <=", value, "auditComment");
            return (Criteria) this;
        }

        public Criteria andAuditCommentLike(String value) {
            addCriterion("audit_comment like", value, "auditComment");
            return (Criteria) this;
        }

        public Criteria andAuditCommentNotLike(String value) {
            addCriterion("audit_comment not like", value, "auditComment");
            return (Criteria) this;
        }

        public Criteria andAuditCommentIn(List<String> values) {
            addCriterion("audit_comment in", values, "auditComment");
            return (Criteria) this;
        }

        public Criteria andAuditCommentNotIn(List<String> values) {
            addCriterion("audit_comment not in", values, "auditComment");
            return (Criteria) this;
        }

        public Criteria andAuditCommentBetween(String value1, String value2) {
            addCriterion("audit_comment between", value1, value2, "auditComment");
            return (Criteria) this;
        }

        public Criteria andAuditCommentNotBetween(String value1, String value2) {
            addCriterion("audit_comment not between", value1, value2, "auditComment");
            return (Criteria) this;
        }

        public Criteria andAuditStatusIsNull() {
            addCriterion("audit_status is null");
            return (Criteria) this;
        }

        public Criteria andAuditStatusIsNotNull() {
            addCriterion("audit_status is not null");
            return (Criteria) this;
        }

        public Criteria andAuditStatusEqualTo(Byte value) {
            addCriterion("audit_status =", value, "auditStatus");
            return (Criteria) this;
        }

        public Criteria andAuditStatusNotEqualTo(Byte value) {
            addCriterion("audit_status <>", value, "auditStatus");
            return (Criteria) this;
        }

        public Criteria andAuditStatusGreaterThan(Byte value) {
            addCriterion("audit_status >", value, "auditStatus");
            return (Criteria) this;
        }

        public Criteria andAuditStatusGreaterThanOrEqualTo(Byte value) {
            addCriterion("audit_status >=", value, "auditStatus");
            return (Criteria) this;
        }

        public Criteria andAuditStatusLessThan(Byte value) {
            addCriterion("audit_status <", value, "auditStatus");
            return (Criteria) this;
        }

        public Criteria andAuditStatusLessThanOrEqualTo(Byte value) {
            addCriterion("audit_status <=", value, "auditStatus");
            return (Criteria) this;
        }

        public Criteria andAuditStatusIn(List<Byte> values) {
            addCriterion("audit_status in", values, "auditStatus");
            return (Criteria) this;
        }

        public Criteria andAuditStatusNotIn(List<Byte> values) {
            addCriterion("audit_status not in", values, "auditStatus");
            return (Criteria) this;
        }

        public Criteria andAuditStatusBetween(Byte value1, Byte value2) {
            addCriterion("audit_status between", value1, value2, "auditStatus");
            return (Criteria) this;
        }

        public Criteria andAuditStatusNotBetween(Byte value1, Byte value2) {
            addCriterion("audit_status not between", value1, value2, "auditStatus");
            return (Criteria) this;
        }

        public Criteria andRefundStatusIsNull() {
            addCriterion("refund_status is null");
            return (Criteria) this;
        }

        public Criteria andRefundStatusIsNotNull() {
            addCriterion("refund_status is not null");
            return (Criteria) this;
        }

        public Criteria andRefundStatusEqualTo(Byte value) {
            addCriterion("refund_status =", value, "refundStatus");
            return (Criteria) this;
        }

        public Criteria andRefundStatusNotEqualTo(Byte value) {
            addCriterion("refund_status <>", value, "refundStatus");
            return (Criteria) this;
        }

        public Criteria andRefundStatusGreaterThan(Byte value) {
            addCriterion("refund_status >", value, "refundStatus");
            return (Criteria) this;
        }

        public Criteria andRefundStatusGreaterThanOrEqualTo(Byte value) {
            addCriterion("refund_status >=", value, "refundStatus");
            return (Criteria) this;
        }

        public Criteria andRefundStatusLessThan(Byte value) {
            addCriterion("refund_status <", value, "refundStatus");
            return (Criteria) this;
        }

        public Criteria andRefundStatusLessThanOrEqualTo(Byte value) {
            addCriterion("refund_status <=", value, "refundStatus");
            return (Criteria) this;
        }

        public Criteria andRefundStatusIn(List<Byte> values) {
            addCriterion("refund_status in", values, "refundStatus");
            return (Criteria) this;
        }

        public Criteria andRefundStatusNotIn(List<Byte> values) {
            addCriterion("refund_status not in", values, "refundStatus");
            return (Criteria) this;
        }

        public Criteria andRefundStatusBetween(Byte value1, Byte value2) {
            addCriterion("refund_status between", value1, value2, "refundStatus");
            return (Criteria) this;
        }

        public Criteria andRefundStatusNotBetween(Byte value1, Byte value2) {
            addCriterion("refund_status not between", value1, value2, "refundStatus");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}